import request from '@/utils/axios';
import appName from "@/api/appName";

export function queryList(params) {
  return request({
    url: appName.NB+'/maintain/againAccept/queryList',
    method: 'post',
    data: params
  })
}

export function editData(params) {
  return request({
    url: appName.NB+'/maintain/againAccept/editData',
    method: 'post',
    data: params
  })
}

export function deleteData(params) {
  return request({
    url: appName.NB+'/maintain/againAccept/deleteData',
    method: 'post',
    data: params
  })
}

export function queryEuaapkyVOByApplnum(params) {
  return request({
    url: appName.NB+'/maintain/againAccept/queryEuaapkyVOByApplnum',
    method: 'post',
    data: params
  })
}

export function dataInfoDeal(params) {
  return request({
    url: appName.NB+'/maintain/againAccept/dataInfoDeal',
    method: 'post',
    data: params
  })
}

export function checkOldApplnum(params) {
  return request({
    url: appName.NB+'/maintain/againAccept/checkOldApplnum',
    method: 'post',
    data: params,
    timeout:30000
  })
}

export function dealChdrnum(params) {
  return request({
    url: appName.NB+'/maintain/againAccept/dealChdrnum',
    method: 'post',
    data: params
  })
}